<script setup lang="ts">
import { useMoneyStore } from '../store/money'

let moneyStore = useMoneyStore();

</script>

<template>
  <div>
    <h2>人民币：{{moneyStore.rmb}}</h2>
    <h2>美金：{{moneyStore.usd}}</h2>
    <h2>欧元：{{moneyStore.eur}}</h2>
  </div>
</template>

<style scoped>
div {
  background-color: #646cff;
}
</style>